home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8125 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: news.cstone.net!usenet
  2. From: scottv@cstone.net (Scott)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Component, OCX or OLE
  5. Date: 14 Feb 1996 23:38:21 GMT
  6. Organization: Cornerstone Networks - Pure Internet!
  7. Message-ID: <4ftrpd$jg7@dot.cstone.net>
  8. References: <mictaliDMrpKt.55I@netcom.com>
  9. NNTP-Posting-Host: dialin14.cstone.net
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. X-Newsreader: WinVN 0.99.7
  13.  
  14. In article <mictaliDMrpKt.55I@netcom.com>, mictali@netcom.com says...
  15. >
  16. >I have a question concerning the best approach to take.
  17. >
  18. >Here is the scenario:
  19. >
  20. >We would like to develop and object the incorporates the GUI form tied to a
  21. >known table structure in an undefined ODBC source.  We'd like to be able to,
  22. >for instance, build a re-usable data entry screen for customer information
  23. >then incorporate that object into different applications.
  24. >
  25. >What I can't determine is whether I should create the object as a component,
  26. >OLE server or an OCX (DLL).
  27. >
  28. >Any help would be appreciated.
  29. >
  30. >Jere_McDevitt@Theratx.Com
  31. >mictali@netcom.com
  32.  
  33. I personally like to deal with and create the OCX approach, but one benfit 
  34. that OLE supports that the OLE custom control does not is - remote OLE 
  35. automation.  Would it be benficial for your OLE server to actually reside on 
  36. a server computer to perform calculations and database access and use the GUI 
  37. on a remote computer?  This would allow for faster access if you are not 
  38. using an SQL server to allow the server to do the ODBC work on the server and 
  39. send only the data through the use of the OLE server through the network with 
  40. the results /vice/versa.  I've always felt more comfortable with the 
  41. integration of the OCX with the application than OLE but thats a phobia of 
  42. mine that I need to overcome...but there are a few benefits of each.  My last 
  43. program had a limitation of very low network traffic, which remote OLE helped 
  44. with along with allowing the application to run on a slower computer by 
  45. offseting the caculations on a server computer.
  46.  
  47.     Good Luck,
  48.     N. Scott Vann
  49.     Motivational Concepts, Inc.
  50.     Software Engineering/Multimedia Training Systems
  51.  
  52.